Edit Task: RecurringConstraints
Description
The RecurringConstraints attribute under EditTask defines the interval constraints for recurring tasks.
Parameters
Parameter | Description |
---|---|
MinAfterType | Options are either "Start", "Stop", and "None". Required |
MinTimeAfter | A number in seconds (millisecond fidelity) of the minimum time between intervals of the recurring task. Required if MinAfterType is not None |
MaxAfterType | Options are either "Start", "Stop", and "None". Required |
MaxTimeAfter | A number in seconds (millisecond fidelity) of the minimum time between intervals of the recurring task. Required if MaxAfterType is not None |
Examples
Set the recurring constraint so that the next assignment must occur 3700s after the start of the previous one
PATCH api/task/TaskA
Body:
{
"RecurringConstraints" : {
"MinAfterType" : "Start",
"MinTimeAfter" : "3700",
"MinAfterType" : "Stop",
"MinTimeAfter" : "0" }
}